package com.kangye.learnstudent.service;


import com.kangye.learnstudent.entity.StudentPaper;
import com.kangye.learnstudent.entity.Subject;
import com.kangye.learnstudent.entity.User;

import java.util.List;

import com.kangye.learnstudent.entity.Subject;
import com.kangye.learnstudent.util.ViewJsonObject;


/**
 * @program: learndeduo
 * @description: 学科逻辑接口
 * @author: stl
 * @create: 2021-05-17 11:00
 **/
public interface SubjectService {

    //查询所有的课程名
    public List<Subject> getSubject(User user);


    //根据年级查询各个学科
    ViewJsonObject<Subject> selSubject(Integer subjectGradeId);

}